<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE>
<html>
<head>
<base href="<%=basePath%>">

<title>修改</title>



</head>

<body>
	<div>
		<div>
			<h1>编辑图书</h1>
		</div>
		<div>
			<form action="book/update" method="post">
				<input type="hidden" name="id"
					value="${info.id }" />
				<ul>
					<li><span>书名</span><input type="text" name="name" value="${info.name }"/>
					</li>
					<li><span>作者</span><input type="text" name="author" value="${info.author }" />
					</li>
					<li><span>出版社</span><input type="text" name="publish" value="${info.publish }"/>
					</li>
					<li><span>出版日期</span><input type="date" name="publishdate" value="${info.publishdate }"/>
					</li>
					<li><span>页数</span><input type="text" name="page" value="${info.page }">
					</li>
					<li><span>价格</span><input type="text" name="price" value="${info.price }">
					</li>
					<li><span>内容摘要</span> <textarea rows="5px;" cols="30px;"
							name="content" style="resize:none;">${info.content }
						</textarea></li>
					<li><input type="submit" value="提交" /><input type="button"
						value="返回" onclick="location.href='index.jsp'" />
					</li>
				</ul>
			</form>
		</div>
	</div>
</body>
</html>
